package net.ming616.pattern.example.factory.factorymethod;

import net.ming616.pattern.example.factory.product.media.audio.Audio;

public class AudioPlayer {

	public static void playAudio() {
		AudioFactory factory = new APEFactory();
		Audio audio = factory.getAudio();
		audio.play();
	}

	public static void main(String[] args) {
		playAudio();
	}
}
